home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / Dev / Oberon / source / amiga / BattClock.mod < prev    next >
Text File  |  1995-06-29  |  1KB  |  60 lines

  1. (***************************************************************************
  2.  
  3.      $RCSfile: BattClock.mod $
  4.   Description: Interface to battclock.resource
  5.  
  6.    Created by: fjc (Frank Copeland)
  7.     $Revision: 3.8 $
  8.       $Author: fjc $
  9.         $Date: 1995/06/04 23:13:14 $
  10.  
  11.   $VER: battclock.h 36.4 (1.5.90)
  12.   Includes Release 40.15
  13.  
  14.   (C) Copyright 1985-1993 Commodore-Amiga, Inc.
  15.       All Rights Reserved
  16.  
  17.   Oberon-A interface Copyright © 1994-1995, Frank Copeland.
  18.   This file is part of the Oberon-A Interface.
  19.   See Oberon-A.doc for conditions of use and distribution.
  20.  
  21. ***************************************************************************)
  22.  
  23. <* STANDARD- *>
  24.  
  25. MODULE [2] BattClock;
  26.  
  27. IMPORT e := Exec;
  28.  
  29.  
  30. (*
  31. **
  32. **      BattClock resource name strings.
  33. **
  34. *)
  35.  
  36. CONST
  37.  
  38.   battClockName * = "battclock.resource";
  39.  
  40.  
  41. (**-- Resource Base variable --------------------------------------------*)
  42.  
  43. VAR
  44.  
  45.   base : e.APTR;
  46.  
  47.  
  48. (**-- Resource Functions ------------------------------------------------*)
  49.  
  50. (*
  51. **      $VER: battclock_protos.h 1.3 (3.5.90)
  52. *)
  53.  
  54. PROCEDURE ResetBattClock* [base,-6] ();
  55. PROCEDURE ReadBattClock* [base,-12] () : e.ULONG;
  56. PROCEDURE WriteBattClock* [base,-18] ( time [0] : e.ULONG );
  57.  
  58. BEGIN base := NIL
  59. END BattClock.
  60.